package com.taobao.common.dao.persistence;

import java.util.Iterator;

public class StringUtil {

  public static String join(Iterator it, char p) {
    StringBuffer b = new StringBuffer();
    while (it.hasNext()) {
      Object o = it.next();
      b.append(o.toString()).append(p);
    }

    return b.toString();
  }
}
